package com.workflow.workflowproject.entity.dto;

import com.alibaba.fastjson2.JSONObject;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class TaskInfoDto implements Serializable {

    @Serial
    private static final long serialVersionUID = -91491166480075729L;
    /**
     * 业务id(系统内部的业务ID，用于系统内部数据实现)
     */
    @Schema(description = "业务id(系统内部的业务ID，用于系统内部数据实现)")
    private String busKey;
    /**
     * 流程实例id(flowable的流程实例id)
     */
    @Schema(description = "流程实例id(flowable的流程实例id)")
    private String processInstanceId;
    /**
     * 流程定义id
     */
    @Schema(description = "流程定义id")
    private String flowInfoId;
    /**
     * 定义流程提交值
     */
    @Schema(description = "流程提交值")
    private JSONObject value;
    /**
     * 退回到的任务节点
     */
    @Schema(description = "退回到的任务节点")
    private String returnTaskId;
    /**
     * 转办用户ID
     */
    @Schema(description = "转办用户ID")
    private String passOnUserId;
    /**
     * 指派委派用户ID
     */
    @Schema(description = "指派委派用户ID")
    private String delegateUserId;
}
